/**
 * 
 */
package com.rohan.apps.mileagetracker.shared.service;

import java.util.List;

import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.Service;
import com.rohan.apps.mileagetracker.server.db.locators.DaoServiceLocator;
import com.rohan.apps.mileagetracker.server.db.service.VehiclesDao;
import com.rohan.apps.mileagetracker.shared.proxies.VehicleProxy;

/**
 * @author R!
 *
 */
@Service(value = VehiclesDao.class, locator = DaoServiceLocator.class)
public interface VehicleRequest extends RequestContext {
	public Request<List<VehicleProxy>> listAllvehicles();
	
	public Request<Void> saveVehicle(VehicleProxy vehicle);
}
